﻿<UserControl x:Class="EasyMp3Organizer.SettingsMenu"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="500" Width="250">
	<DockPanel>
		<GroupBox DockPanel.Dock="Top" BorderBrush="Black" Margin="5" Background="White" Header="Directories">
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="50"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="20"></RowDefinition>
					<RowDefinition Height="20"></RowDefinition>
					<RowDefinition Height="30"></RowDefinition>
					<RowDefinition Height="20"></RowDefinition>
				</Grid.RowDefinitions>
				<ListBox Name="lstFolders" BorderThickness="0" Grid.Row="0" Grid.Column="0" Grid.RowSpan="3" Margin="0 0 10 0">
					<ListBoxItem Name="itemDirArtist">
						<TextBlock><CheckBox Margin="0 0 5 0" IsChecked="True" Name="chkDirArtist"></CheckBox>Artist</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemDirAlbum">
						<TextBlock><CheckBox Margin="0 0 5 0" IsChecked="True" Name="chkDirAlbum"></CheckBox>Album</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemDirYear">
						<TextBlock><CheckBox Margin="0 0 5 0" Name="chkDirYear"></CheckBox>Year</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemDirGenre">
						<TextBlock><CheckBox Margin="0 0 5 0" Name="chkDirGenre"></CheckBox>Genre</TextBlock>
					</ListBoxItem>
				</ListBox>
				<Button Grid.Column="1" Grid.Row="0" Margin="0" FontSize="10" Padding="0" Content="&lt;&lt;" Name="btnDirUp" CommandParameter="Up" Click="OptionsReorder_Click">
					<Button.LayoutTransform>
						<RotateTransform Angle="90"></RotateTransform>
					</Button.LayoutTransform>
				</Button>
				<Button Grid.Column="1" Grid.Row="1" Margin="0" FontSize="10" Padding="0" Content="&gt;&gt;" Name="btnDirDown" CommandParameter="Down" Click="OptionsReorder_Click">
					<Button.LayoutTransform>
						<RotateTransform Angle="90"></RotateTransform>
					</Button.LayoutTransform>
				</Button>
				<TextBlock Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" TextWrapping="WrapWithOverflow" Name="txtDirExample">Example: <Italic Name="folderExample">(collection)/Artist/Album</Italic></TextBlock>
			</Grid>
		</GroupBox>
		<GroupBox DockPanel.Dock="Top" BorderBrush="Black" Margin="5" Background="White" Header="File names">
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="50"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="20"></RowDefinition>
					<RowDefinition Height="20"></RowDefinition>
					<RowDefinition Height="60"></RowDefinition>
					<RowDefinition Height="22"></RowDefinition>
					<RowDefinition Height="20"></RowDefinition>
				</Grid.RowDefinitions>
				<ListBox Name="lstFilename" BorderThickness="0" Grid.Row="0" Grid.Column="0" Grid.RowSpan="3" Margin="0 0 10 0">
					<ListBoxItem Name="itemFileTrack">
						<TextBlock><CheckBox Margin="0 0 5 0" IsChecked="True" IsEnabled="True" Name="cbxFileTrack"></CheckBox>Track number</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemFileTitle">
						<TextBlock><CheckBox Margin="0 0 5 0" IsChecked="True" IsEnabled="False" Name="cbxFileTitle"></CheckBox>Title</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemFileArtist">
						<TextBlock><CheckBox Margin="0 0 5 0" Name="cbxFileArtist"></CheckBox>Artist</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemFileAlbum">
						<TextBlock><CheckBox Margin="0 0 5 0" Name="cbxFileAlbum"></CheckBox>Album</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemFileYear">
						<TextBlock><CheckBox Margin="0 0 5 0" Name="cbxFileYear"></CheckBox>Year</TextBlock>
					</ListBoxItem>
					<ListBoxItem Name="itemFileGenre">
						<TextBlock><CheckBox Margin="0 0 5 0" Name="cbxFileGenre"></CheckBox>Genre</TextBlock>
					</ListBoxItem>
				</ListBox>
				<Button Grid.Column="1" Grid.Row="0" Margin="0" FontSize="10" Padding="0" Content="&lt;&lt;" CommandParameter="Up" Click="OptionsReorder_Click" Name="btnFileUp">
					<Button.LayoutTransform>
						<RotateTransform Angle="90"></RotateTransform>
					</Button.LayoutTransform>
				</Button>
				<Button Grid.Column="1" Grid.Row="1" Margin="0" FontSize="10" Padding="0" Content="&gt;&gt;" CommandParameter="Down" Click="OptionsReorder_Click" Name="btnFileDown">
					<Button.LayoutTransform>
						<RotateTransform Angle="90"></RotateTransform>
					</Button.LayoutTransform>
				</Button>
				<DockPanel Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2">
					<TextBlock DockPanel.Dock="Left" Margin="0 0 5 0">Separator:</TextBlock>
					<ComboBox Name="cbxFileSeparator">
						<ComboBoxItem IsSelected="True" xml:space="preserve">   (space)</ComboBoxItem>
						<ComboBoxItem>- (dash)</ComboBoxItem>
						<ComboBoxItem>_ (underline)</ComboBoxItem>
					</ComboBox>
				</DockPanel>
				<TextBlock Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" TextWrapping="WrapWithOverflow" Name="txtFileExample">Example: <Italic Name="filenameExample">(folder)/03 Music name.mp3</Italic></TextBlock>
			</Grid>
		</GroupBox>
		<TextBlock Margin="5" DockPanel.Dock="Top" TextWrapping="WrapWithOverflow" FontSize="15" FontWeight="Bold" Foreground="Red" TextAlignment="Justify">
				This is just the layout sample. Functionalities are not enabled yet.
		</TextBlock>
		<WrapPanel />
	</DockPanel>
</UserControl>
